package com.woniuxy.auctionSystem;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.woniuxy.auctionSystem.mapper")
@ComponentScan({"com.woniuxy.auctionSystem","com.woniuxy.common"})
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients  //启动OpenFeign 远程调用
public class AuctionSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuctionSystemApplication.class,args);
    }
}